define(()=>{
    return function(hot,ranking,data){
        let str=''
      
        console.log(data[5].img,88888888)
        for (let i=1;i<7;i++){ 
        let  rand = Math.round(Math.random()*data.length+0)
        str+=`<div class="alone-shop">
        <a href=""><img src="${data[rand].img}" alt=""></a>
        <p><a href="">${data[rand].proName}</a></p>
        <p><span>&yen;</span><span>${data[rand].price}</span></p>
        <p><a href="">非凡一度</a></p>
    </div>`

        }
        hot.html(str)
    }
})